package com.education.schedule.dynamic;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;


/**
 * Created by zhangjiawen on 2019/10/30.
 */
@Component
public class DynamicPrintTask implements ScheduledOfTask {
    Logger logger = LoggerFactory.getLogger(getClass());
    private int i;
    @Override
    public void execute() {
        logger.info("DynamicPrintTask execute times:{}", ++i);
    }

}

